package com.fitzone.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fitzone.model.base.BaseEntity;
import io.swagger.models.auth.In;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@AllArgsConstructor
@Builder
@NoArgsConstructor
@TableName("orders")
public class Orders extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @TableField("number")
    private String number;

    @TableField("vip_id")
    private Long vipId;

    @TableField("course_id")
    private Long courseId;

    @TableField("coach_id")
    private Long coachId;

    @TableField("user_id")
    private Long userId;

    @TableField("payable")
    private BigDecimal payable;

    @TableField("payment")
    private BigDecimal payment;

    @TableField("status")
    private Integer status;

}
